package utils

import (
	"photowall/pkg/options"
)

// GetFieldFromRedis 从 Redis 中获取某个键的某个字段
func GetFieldFromRedis(key, field string) (string, error) {
	return options.GetRedisClient().HGet(key, field).Result()
}
